//
//  SquareMarkView.h
//  安好
//
//  Created by rlp on 14-11-14.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//  广场标签view

#import <UIKit/UIKit.h>

#define CORNERRADIUS 2.f //标记的圆角半径
#define SQUARE_MARK_SIDE ((kScreenWidth == 414)?15.f+2:15.f) //标记的正方形变长
#define SQUARE_MARK_INTERVAL ((kScreenWidth == 414)?5.f+2:5.f) //标记的正方形间隔
#define SQUARE_MARK_FONT ((kScreenWidth == 414)?10.f+2:10.f) //标记字体






typedef enum {
    //以下是枚举成员
    SquareMarkStyleAll = 0,//全
    SquareMarkStyleRefinement,//精
    SquareMarkStylePeak,//顶
    SquareMarkStyleNew,//新
    SquareMarkStyleAdsum,//有
    SquareMarkStyleNot//无
}SquareMarkStyle;//枚举名称
@interface SquareMarkView : UIView

@property(nonatomic,strong)NSArray *backGroundColorArray;//标签背景颜色集合
@property(nonatomic,strong)NSArray *textArray;//标签内的文字集合

@property(nonatomic,strong)NSArray *squareMarkStyles;//squareMarkStyles是SquareMarkStyle枚举成员组成的数组 squareMarkStyles里面存放是NSnumber类型


/**
 *  创建标签view
 *
 *  @param frame            就y坐标有用  参数随便设置
 *
 *  @return 标签view
 */
-(instancetype)initWithFrame:(CGRect)frame;
@end
